package My_Workers;

public class Workers {
	
	String name;
	int salary;

	Workers(String name, int salary){
		this.name = name;
		this.salary = salary;
		System.out.println("Salary: " + salary + " to " + name);
	}	
	
	public String getName() {
		return name;
	}

	public int getSalary() {
		return salary;
	}

	public void work(){
		System.out.println("Working...");
	}

}
